<?php
/**
 * Created by litong on Date: 2018/12/24 0024 上午 9:40
 */
class Child_Site extends Site{
  var $categroy;

  function setCategory($par){
    $this->categroy=$par;
  }

  function getCatagory(){
    echo "<br/>";
    echo $this->categroy;
  }
}
$childSite=new Child_Site();
$childSite->getCatagory();
?>